export default class Queue<T> {
    private data: T[] = [];

    public push(item: T) {
        this.data.push(item);
    }

    public pop() {
        return this.data.shift();
    }
}